<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Class bmqa::SessionEventHandler</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javaScript" src="search/search.js"></script>
<link href="bdedox.css" rel="stylesheet" type="text/css"/>
    <style>
      div.hanging {
        padding-left: 0.75in;
        text-indent: -0.50in;
      }
      div.unhanging {
        text-indent:     0in;
      }
      a.glossary {
        font-weight: bold;
        font-style: italic;
      }
    </style>
</head>
<!--
<body onload='searchBox.OnSelectItem(0);'>
-->
<body>

<table border=2 cellspacing=0 cellpadding=0 align=center>
<tr>
 <td valign=top align=center>
 <p align=center><b><i>Quick Links:</i></b></p>
 </td>
 <td valign=top align=center>
 <p align=center>
<a class="qindex" href="group__bmqa.html" target="_blank">bmqa</a> | <a class="qindex" href="group__bmqpi.html" target="_blank">bmqpi</a> | <a class="qindex" href="group__bmqt.html" target="_blank">bmqt</a>
 </td>
 </tr>
 </table>

  </div>
<!-- Generated by Doxygen 1.7.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul class="tablist">
      <li><a href="components.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="components.html"><span>Components</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath">
    <ul>
      <li><a class="el" href="namespacebmqa.html">bmqa</a>      </li>
      <li><a class="el" href="classbmqa_1_1SessionEventHandler.html">bmqa::SessionEventHandler</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<h1>bmqa::SessionEventHandler Class Reference</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="bmqa::SessionEventHandler" -->
<p><code>#include &lt;<a class="el" href="bmqa__session_8h_source.html">bmqa_session.h</a>&gt;</code></p>

<p><a href="classbmqa_1_1SessionEventHandler-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbmqa_1_1SessionEventHandler.html#a229292320ca0460419d472f5e00e44f0">~SessionEventHandler</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbmqa_1_1SessionEventHandler.html#a7ddadab037708153aec266ea6d7d009b">onSessionEvent</a> (const <a class="el" href="classbmqa_1_1SessionEvent.html">SessionEvent</a> &amp;event)=0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbmqa_1_1SessionEventHandler.html#adf2ac1fe26247616e5f805b755f9a5f8">onMessageEvent</a> (const <a class="el" href="classbmqa_1_1MessageEvent.html">MessageEvent</a> &amp;event)=0</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Pure protocol for an asynchronous event handler. The implementation must be thread safe if the <code><a class="el" href="classbmqa_1_1Session.html">Session</a></code> is configured to use multiple threads.</p>
<p>See <a class="el" href="group__bmqa__session.html">Component bmqa_session</a> </p>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a229292320ca0460419d472f5e00e44f0"></a><!-- doxytag: member="bmqa::SessionEventHandler::~SessionEventHandler" ref="a229292320ca0460419d472f5e00e44f0" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bmqa::SessionEventHandler::~SessionEventHandler </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Destroy this object. </p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a7ddadab037708153aec266ea6d7d009b"></a><!-- doxytag: member="bmqa::SessionEventHandler::onSessionEvent" ref="a7ddadab037708153aec266ea6d7d009b" args="(const SessionEvent &amp;event)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void bmqa::SessionEventHandler::onSessionEvent </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classbmqa_1_1SessionEvent.html">SessionEvent</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>event</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Process the specified session <code>event</code> (connected, disconnected, queue opened, queue closed, etc.). </p>

</div>
</div>
<a class="anchor" id="adf2ac1fe26247616e5f805b755f9a5f8"></a><!-- doxytag: member="bmqa::SessionEventHandler::onMessageEvent" ref="adf2ac1fe26247616e5f805b755f9a5f8" args="(const MessageEvent &amp;event)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void bmqa::SessionEventHandler::onMessageEvent </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classbmqa_1_1MessageEvent.html">MessageEvent</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>event</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Process the specified message <code>event</code> containing one or more messages. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="bmqa__session_8h_source.html">bmqa_session.h</a></li>
</ul>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Thu Jun 15 2023 11:58:51 by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.1 </small></address>
</body>
</html>
